package com.nebula.service;

import com.nebula.common.ServerResponse;
import com.nebula.pojo.User;
import com.nebula.vo.NicknameVo;

public interface IUserService {
	ServerResponse<User> login(String username,String password);
	
	ServerResponse<String> register(User user);
	
	ServerResponse<String> checkValid(String str,String type);
	
	ServerResponse usedSize(String username);
	
	ServerResponse<NicknameVo> userInfo(String username);
	
	ServerResponse<String> setNickname(String username,String nickname);
	
	ServerResponse updateUserGroupId(String username,Integer groupId);
	
	ServerResponse checkNickname(String nickname);
	
	ServerResponse change_password(String username,String password);
	
	ServerResponse checkPassword(String username,String password);
	
	ServerResponse checkInformation(String str,String username,String type);
	
	ServerResponse updateInformation(User user);
	
	ServerResponse<User> endecodLogin(String username,String password);
}
